<template>
  <div>
    <div class="grid grid-cols-3">
      <div
        class="col-span-1 grid h-24 place-content-center border border-purple-500 bg-purple-300 text-3xl text-red-500"
        v-for="item in templateMessages.title"
        :key="item"
      >
        {{ item }}
      </div>
      <div
        class="col-span-3 grid h-24 place-content-center border border-purple-500 bg-green-300 text-3xl text-cyan-600"
      >
        {{ templateMessages.context }}
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
const templateMessages = {
  title: ['vue-router v4', 'pinia v3', 'tailwindcss v4', 'eslint', 'prettier', 'axios'],
  context: '我给自己学习前后端制作的万用模板不论构建任何项目都能用得上',
}
</script>

<style scoped></style>
